#region Using directives
using System;
using System.Data;
#endregion

namespace WP.MF.DataEntity
{

	/*
	 * Created by Z
	 * At  Tuesday, August 02, 2005
	 */

	//=========MUserBranch  ============================
	[System.ComponentModel.DesignerCategory("Code")]
	public class MUserBranchDEL:DataSet
	{
		//=========MUserBranch ============================
		public const string TABLENAME_MUSERBRANCH="MUserBranch";
		public const string TABLENAME_MUSER="MUser";

		public const string RECID="RecId";
		public const string USERNAME="UserName";
		public const string DESCRIPTION="Description";
		public const string BRANCHNO="BranchNo";
		public const string ACCESS="Access";
		public const string GLACCESS="glAccess";
		public const string RECSTAMP="RecStamp";
        private System.Collections.Specialized.NameValueCollection mVarCollection = new System.Collections.Specialized.NameValueCollection();
        public System.Collections.Specialized.NameValueCollection VarCollection
        {
            get { return mVarCollection; }
            set { mVarCollection = value; }
        }


		public MUserBranchDEL()
		{
			//Create MUserBranch structure
			CreateMUserBranchStructure();

		}

		//=========MUserBranch============================
		private void CreateMUserBranchStructure()
		{
			DataTable table;
			DataColumnCollection DCC;
			DataColumn DC=new DataColumn();
			table=new DataTable (TABLENAME_MUSERBRANCH);
			DCC=table.Columns;
			
			DC=new DataColumn(RECID,typeof(System.Int32));			
			DCC.Add(DC);
			
			DC=new DataColumn(USERNAME,typeof(System.String));
			DC.DefaultValue="";
			DCC.Add(DC);

			DC=new DataColumn(DESCRIPTION,typeof(System.String));
			DC.DefaultValue="";
			DCC.Add(DC);

			DC=new DataColumn(BRANCHNO,typeof(System.String));
			DC.DefaultValue="";
			DCC.Add(DC);
			
			DC=new DataColumn(ACCESS,typeof(System.Boolean));
			DC.DefaultValue=false;
			DCC.Add(DC);
			
			DC=new DataColumn(GLACCESS,typeof(System.Boolean));
			DC.DefaultValue=false;
			DCC.Add(DC);
			
			DC=new DataColumn(RECSTAMP,typeof(System.Byte[]));
			DCC.Add(DC);

				
			
			this.Tables.Add (table);
		}

	}
}

